package com.ruoyi.system.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.VMxWareOutMapper;
import com.ruoyi.system.domain.VMxWareOut;

/**
 * VIEWService业务层处理
 *
 * @author yushuaixm
 * @date 2024-08-21
 */
@Service
public class VMxWareOutService {
    @Autowired
    private VMxWareOutMapper vMxWareOutMapper;

    /**
     * 查询VIEW
     *
     * @param id VIEW主键
     * @return VIEW
     */

    public VMxWareOut selectVMxWareOutById(Long id) {
        return vMxWareOutMapper.selectVMxWareOutById(id);
    }

    /**
     * 查询VIEW列表
     *
     * @param vMxWareOut VIEW
     * @return VIEW
     */

    public List<VMxWareOut> selectVMxWareOutList(VMxWareOut vMxWareOut) {
        return vMxWareOutMapper.selectVMxWareOutList(vMxWareOut);
    }

    /**
     * 新增VIEW
     *
     * @param vMxWareOut VIEW
     * @return 结果
     */

    public int insertVMxWareOut(VMxWareOut vMxWareOut) {
        return vMxWareOutMapper.insertVMxWareOut(vMxWareOut);
    }

    /**
     * 修改VIEW
     *
     * @param vMxWareOut VIEW
     * @return 结果
     */

    public int updateVMxWareOut(VMxWareOut vMxWareOut) {
        return vMxWareOutMapper.updateVMxWareOut(vMxWareOut);
    }

    /**
     * 批量删除VIEW
     *
     * @param ids 需要删除的VIEW主键
     * @return 结果
     */

    public int deleteVMxWareOutByIds(Long[] ids) {
        return vMxWareOutMapper.deleteVMxWareOutByIds(ids);
    }

    /**
     * 删除VIEW信息
     *
     * @param id VIEW主键
     * @return 结果
     */

    public int deleteVMxWareOutById(Long id) {
        return vMxWareOutMapper.deleteVMxWareOutById(id);
    }
}
